//
//  GoodsCollectionViewCell.m
//  RainbowFM
//
//  Created by Kratos on 14/12/17.
//  Copyright (c) 2014年 RB. All rights reserved.
//

#import "GoodsCollectionViewCell.h"

@implementation GoodsCollectionViewCell
-(void)awakeFromNib
{
    [_priceLabel setAdjustsFontSizeToFitWidth:YES];
    [_marketLabel setAdjustsFontSizeToFitWidth:YES];
}

-(void)updateGoodsInfo:(id)info
{
    [_goodsImageview sd_setImageWithURL:[NSURL URLWithString:@"http://d.hiphotos.baidu.com/baike/c0%3Dbaike80%2C5%2C5%2C80%2C26/sign=ef43121e1ad8bc3ed2050e98e3e2cd7b/86d6277f9e2f0708abfa8d24ea24b899a901f213.jpg"]];
    [_priceLabel setText:@"$55"];
    [_marketLabel setText:@"已售66"];
    [_nameLabel setText:@"原生态橄榄油 4L/瓶"];
}
@end
